package org.protester.core;

import javax.persistence.Column;
import javax.persistence.Entity;

import org.protester.base.EntityBase;

@Entity
public class Image extends EntityBase {

	@Column(nullable = false, unique = true)
	private String name;
	@Column(nullable = false)
	private String title;
	private String description;

	public Image() {
	}

	public Image(String name, String title) {
		this.name = name;
		this.title = title;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

}
